package com.qf.config;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @author lixu
 */
@Component
public class Gp12 {


    /**
     * Spring Task   单机版本 情况必须可以
     */
    @Scheduled(cron = "* * * * * ?")
    public void task(){

        System.out.println("===Gp12定时任务");
    }

}
